package com.toma.booking.model;

import java.util.List;

import com.toma.booking.dto.memberDto;
import com.toma.booking.dto.memberDto;

public class MemberService implements IMember {
	private static MemberService memberService;
	
	private MemberManager manager;
	public MemberService(){
		manager = new MemberManager();
	}
	
	public static MemberService getInstance(){
		if(memberService==null){
			memberService = new MemberService();
		}
		return memberService;
	}

	@Override
	public int addmember1(memberDto dto)  {
		return manager.addmember1(dto);
	}

	}
